package javase.homework;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Paper {
	private Map<String, Question> questions=new HashMap<String, Question>();

	
	public Map<String, Question> getQuestions() {
		return questions;
	}

	public void setQuestions(Map<String, Question> questions) {
		this.questions = questions;
	}

	public Map<String, Question> addQuestion(Question q){
		questions.put(q.getId(), q);
		return questions;
	}
	
}
